<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
	<title>{weixin:$metaTitle}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
	<meta name="format-detection" content="telephone=no" />
	<link type="text/css" rel="stylesheet" href="{weixin::$staticFilePath}/css/style.css" />
        <link type="text/css" rel="stylesheet" href="/tpl/Wap/default/common/css/products/4/css/style.css" />
	<script src="{weixin::$staticFilePath}/js/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="{weixin::$staticFilePath}/js/main.js"></script>
        <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
        <script src='/tpl/Wap/default/js/share.js'></script>
        <script type="text/javascript">
	var title = "{weixin:$product.goods_name}";
    var desc = "{weixin:$wxshop.wxshop_desc}";
	var link = "{weixin::C('site_url')}/index.php?g=Wap&m=Product&a=product&token={weixin:$token}&id={weixin:$product.goods_id}";
    var imgUrl = "{weixin:$product.goods_img}";
	appId= '{weixin:$signPackage["appId"]}';
    timestamp = '{weixin:$signPackage["timestamp"]}';
    nonceStr = '{weixin:$signPackage["nonceStr"]}';
    signature= '{weixin:$signPackage["signature"]}';
	$(function(){ 
  		share(title,desc,link,imgUrl,appId,timestamp,nonceStr,signature);
 	}); 
    </script>
</head>

<body style="line-height:1.6; background:#F5F5F5;">
  <include file="Expert:menu"/>
    <div class="main">
    <div class="banner" id="banner" style="padding:8px 0px; text-align:center;">
		<a href="{weixin::U('Expert/expertDetail',array('token'=>$_GET['token'],'expert_id'=>$expert['expert_id']))}">
			<img src="{weixin:$expert.head_img}" alt="{weixin:$expert.expert_name}" width="60px" height="180px;"/>
		</a>
	</div>
<div class="f_list_car clearfix" style="border-bottom: none;line-height:16px; height:54px;">
     <h1 style="font-size:16px;font-weight:300;margin:10px; margin-top:0px; margin-bottom:2px;word-wrap: break-word;word-break: break-all;text-overflow: ellipsis;">{weixin:$expert.expert_name}
     </h1>
     <h1 style="font-size:16px;font-weight:300;margin:10px; margin-top:0px; margin-bottom:2px;word-wrap: break-word;word-break: break-all;text-overflow: ellipsis;">{weixin:$expert.keywords}
     </h1>
    </div>
<div class="f_list_car clearfix" style="border-bottom: none;line-height:16px; margin-bottom: 10px;">
     <span class="all_price all_price_this" style="font-size:16px;">个人简介：</span> 
     <h1 style="font-size:16px;font-weight:300;margin:10px; margin-top:0px; margin-bottom:2px;word-wrap: break-word;word-break: break-all;text-overflow: ellipsis;">
       {weixin:$expert.personal_profile}
     </h1>
    </div>
	<div class="f_list_car clearfix" style="border-bottom: none;line-height:16px;">
     <span class="all_price all_price_this" style="font-size:16px;">技术描述：</span> 
     <h1 style="font-size:16px;font-weight:300;margin:10px; margin-top:0px; margin-bottom:2px;word-wrap: break-word;word-break: break-all;text-overflow: ellipsis;">
       {weixin:$expert.technical_desc}
     </h1>
    </div>
   <div class="f_list_car p_buy clearfix" style="margin-top:2px; margin-bottom:2px;">
            
            <a href="{weixin::U('Expert/consult',array('token'=>$_GET['token'],'consult_type'=>'1','expert_id'=>$expert['expert_id']))}" >
			<span class="p_btn_buy" style="display: block; width: 42%; height: 38px; line-height: 38px;margin:6px 8px 8px 16px; text-align: center; border-radius: 5px;font-size:16px; color: #fff;">咨询</span>
		</a>
         <a  href="javascript:;">
			<span class="ts1"  style="display: block; width: 42%; height: 38px; background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#2C0), to(#2C3)); line-height: 38px;margin:6px 8px 8px 16px; text-align: center; border-radius: 5px;font-size:16px; color: #fff;" onclick="add_collect()">关注</span>
		</a>
            </div>
     </div>
     <script type="text/javascript">
 function showTip(tipTxt) {
        var div = document.createElement('div');
       // div.innerHTML = '<div class="deploy_ctype_tip"><p>' + tipTxt + '</p></div>';
	   div.innerHTML = '<div class="mod_dialog"><div class="dialog_mask"></div><div class="dialog_main qb_br qb_tac"><div class="dialog_bd">' + tipTxt + '</div></div></div>';
        var tipNode = div.firstChild;
        $("#banner").after(tipNode);
        setTimeout(function () {
            $(tipNode).remove();
        }, 1500);
		}
	function add_collect()
	{
		$.ajax({
    		url: "{weixin::U('Userinfo/collectExpert',array('token'=>$_GET['token'],'expert_id'=>$expert['expert_id']))}",
    		success: function( data ) {
    			if(data == 1)
				{		
				   showTip('成功添加关注');
				}
				else
				{
					showTip('已经取消关注');
				}
    		}
    	});
	}
    </script>
<div class="p_mod p_seller_info" id="remen" style="margin:10px 0px;">
    <a href="{weixin::U('Product/productDetail',array('token'=>$_GET['token'],'expert_id'=>$expert['expert_id']))}">
			查看项目
			 <span class="gt"></span>
	</a>
	</div>
				    
<include file="Product:footer"/>
</body>
</html>